NitroPack\SDK\NitroPack D

Total Complexity 298
Dependencies 20
Dependents 11
Total lines 1,218
Lines of code 948
Logical lines of code 582
Comment lines 67
Methods 79
Properties 25

Methods 79

Method Rating Maintainability Complexity Lines of code
__construct()
C
32 28 93
hasRemoteCacheMulti()
B
38 21 65
purgeCache()
B
37 19 78
isAllowedRequest()
B
45 19 38
hasRemoteCache()
A
45 13 39
isSecure()
A
59 12 11
isAllowedUrl()
A
52 10 24
purgeProxyCache()
A
46 8 46
loadConfig()
A
55 9 19
hasLocalCache()
A
58 9 14
isStatefulCacheSatisfied()
A
53 8 21
purgeLocalCache()
S
52 6 24
getCookies()
S
57 5 17
isAllowedAJAXUrl()
S
59 5 14
isAllowedStandaloneAJAXUrl()
S
60 5 13
parseLanguagePreferences()
S
59 5 13
fetchConfig()
S
54 4 21
loadTimeMarks()
S
59 4 15
isAllowedAJAX()
S
68 5 7
supportedCookiesFilter()
S
62 4 11
invalidateLocalCache()
S
57 3 16
isAJAXRequest()
S
69 4 6
isAllowedBrowser()
S
67 4 7
isPageCacheLocked()
S
60 3 14
unlockPageCache()
S
61 3 13
setConfig()
S
61 3 12
getRemoteAddr()
S
65 3 9
addCookieFilter()
S
64 3 9
loadHealthStatus()
S
67 3 8
getStatefulCacheHandlerScript()
S
67 3 7
purgeLocalUrlCache()
S
59 2 14
invalidateLocalUrlCache()
S
60 2 13
nitro_parse_str()
S
62 2 11
invalidateDir()
S
63 2 11
getImpactGroupValue()
S
64 2 9
getScheme()
S
79 2 3
lockPageCache()
S
65 2 9
isRequestMethod()
S
78 2 3
isCacheAllowed()
S
79 2 3
valueFromTemplate()
S
59 1 15
getCacheDir()
S
67 2 8
getTimeMark()
S
67 2 8
hasCache()
S
70 2 7
unsetTimeMark()
S
68 2 7
setTimeMark()
S
69 2 6
getExternalCustomPrefix()
S
77 2 3
addCustomCachePrefix()
S
72 2 5
checkHealthStatus()
S
65 2 10
tagUrl()
S
69 2 7
invalidateCache()
S
78 1 3
embedJsUrl()
S
76 1 4
enableSafeMode()
S
78 1 4
disableSafeMode()
S
78 1 4
enableCartCache()
S
82 1 3
getConfigFile()
S
66 1 8
disableCartCache()
S
82 1 3
setReferer()
S
73 1 5
wildcardToRegex()
S
76 1 3
getCustomCachePrefix()
S
79 1 3
getPageCacheLockFilename()
S
73 1 5
normalizeUrl()
S
76 1 4
integrationUrl()
S
74 1 4
disableCompression()
S
82 1 3
getPagecacheCookies()
S
80 1 3
setCachePathSuffix()
S
76 1 4
enableCompression()
S
82 1 3
getUrl()
S
82 1 3
getApi()
S
82 1 3
getSiteId()
S
82 1 3
getConfig()
S
82 1 3
getStatefulCacheRevisionFile()
S
73 1 5
getHealthStatus()
S
82 1 3
getHealthStatusFile()
S
73 1 5
setHealthStatus()
S
76 1 4
getTimestampFile()
S
73 1 5
isServiceRequest()
S
79 1 3
setVarnishProxyCacheHeaders()
S
81 1 3
getRemainingCacheTtl()
S
80 1 3
clearPageCache()
S
78 1 3